package com.itheima;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Course;

import java.util.List;

public interface CourseService {
    PageInfo<Course> findByPage(int currPage, int pageSize);
    void save(Course course);
    Course findById(String id);
    void update(Course course);
    void delete(String[] ids);
    List<Course> findAll();
}
